<template>
  <div class="box">
    <LineChartView :option="option" />
  </div>
</template>

<script>
import LineChartView from './components/LineChartView.vue';
export default {
  name: 'EchartView',
  components: {
    LineChartView
  },
  data() {
    return {
      option: {
        xAxis: {
          type: 'category',
          data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月','八月']
        },
      }
    }
  },
  mounted() {
    // this.initChart()
  },
  methods: {
    
  }
}
</script>
<style scoped>
.box {
  width: 800px;
  height: 500px;
}
</style>